package org.bigjava.novelplatform.common.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author ykh
 * @create 2022-03-20 15:57
 */
@Getter
@AllArgsConstructor
public enum UserState  implements CodeMesEnum{
    UNUSED(0,"未使用"),USED(1,"已使用"),FAILURE(2,"失效");

    @EnumValue
    private final Integer code;
    private final String message;
}
